//
//  Device.h
//  UnityNormalSDK
//
//  Created by Chad on 2018/11/20.
//  Copyright © 2018 Bluedcraft. All rights reserved.
//

#ifndef Device_h
#define Device_h

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,DeviceType) {
    
    Unknown = 0,
    Simulator,
    IPhone_4s,
    IPhone_5,
    IPhone_5C,
    IPhone_5S,
    IPhone_SE,
    IPhone_6,
    IPhone_6P,
    IPhone_6s,
    IPhone_6s_P,
    IPhone_7,
    IPhone_7P,
    IPhone_8,
    IPhone_8P,
    IPhone_X,
    IPhone_XR,
    IPhone_XS,
    IPhone_XS_MAX
};

@interface Device:NSObject
+ (DeviceType)deviceType;
+ (NSString*) charToNSString:(char*)value;
+ (id)sharedInstance;
@end

#if defined (__cplusplus)
extern "C"{
#endif
    void _Shake(int level);
    void _ShareAction(char* text,char* path);
#if defined (__cplusplus)
}
#endif

#endif /* Device_h */
